package org.mtmi.ui;

/**
 * Defined constant used by MTMI
 * 
 * @author arnaud
 *
 */
public class M 
{
	/** flag used by Control when it is disposed */
	public static final int DISPOSED=0x0001;
	
	/** flag used by Control to differentiate scene controls and scene editor controls */
	public static final int SCENE_CONTROL=0x0000;
	/** flag used by Control to differentiate scene controls and scene editor controls */
	public static final int SCENE_EDITOR_CONTROL=0x0002;
	
	
	public static final int LEFT = 0x0004;
	public static final int RIGHT = 0x0008;
	public static final int FILL_HORIZONTAL = 0x000C;
	public static final int HCENTER = 0x000C;
	
	public static final int TOP = 0x0010;
	public static final int BOTTOM = 0x0020;
	public static final int FILL_VERTICAL = 0x0030;
	public static final int VCENTER = 0x0030;
	
	public static final int DIRECTION_MASK = LEFT|RIGHT|TOP|BOTTOM;
	
	public static final int CENTER = 0x0040;
	public static final int FILL = 0x0080;
	
	public static final int VERTICAL = 0x0100;
	public static final int HORIZONTAL = 0x0000;
	
	/** used for Buttons class */
	public static final int TOGGLE=0x0100;
		
	/** key used to store layout data in a Control, @see ILayout */
	public static final String D_LAYOUT_DATA = "layoutData@Control"; //$NON-NLS-1$
	
	/** file extension for scene file */
	public static final String EXT_SCENE=".scn"; 
}
